home *** CD-ROM | disk | FTP | other *** search
/ The Ultimate Millenium Investment Guide / Hargreaves Lansdown - The Ultimate Millenium Investment Guide (IG).ISO / mac / Xtras / DirectMedia / DirectMedia Documentation.dxr / 00002_Field_Getting Started.txt < prev    next >
Text File  |  1998-04-14  |  4KB  |  35 lines

  1. Getting Started
  2.  
  3. DirectMedia Xtra┬« is a Sprite Xtra. Unlike XObjects or Lingo Xtras, Sprite Xtras can be manipulated using the score and cast windows, and their properties can be adjusted through Lingo, just like Director┬«'s built-in media types. 
  4.  
  5. Before starting, you should configure Director's authoring environment to properly display external palettes in 256 color mode. DirectMedia Xtra┬« needs to access the current palette when Director is running in 256 colors. This can be enabled by editing the DIRECTOR.INI file, which is located in the same directory of your Director application. You need to edit the palette section to look like:
  6.  
  7. [Palette]
  8. Animation=0
  9. ; 1: allows director to take control of the palette for fast palette effects
  10. ;    and transitions.
  11. ; 0: prevents director from taking control of the palette so other apps,
  12. ;    wallpaper etc. look better but palette effects and transitions will
  13. ;    be slower.
  14.  
  15. You will need to include a copy of this modified DIRECTOR.INI file with your Projectors (read the instructions on the "Creating Projectors") section.
  16. It is also a good idea to enable the "Animate in Background" option. This can be done by selecting the FILE->PREFERENCES->GENERAL menu in Director, and checking the "Animate in Background" option.
  17.  
  18. DirectMedia Xtra┬« will take advantage of Microsoft's DirectDraw┬« and DirectSound┬« if they are available on the playback system. The Xtra will always try to play the Media file using the fastest color depth and method available on the machine. The result is that Media files can play using thousands or millions of colors even if your Projector and Display are set to 256 colors. The DirectDraw┬« engine will use overlay technology to write directly to the memory of the display adapter if this feature is available, resulting in faster and enhanced playback. 
  19.  
  20. To create a DirectMedia Xtra┬« cast member, go to your INSERT menu, select TABULEIRO'S XTRAS->DirectMedia Xtra. The standard DirectMedia Xtra┬« Properties Dialog Box will appear. Select browse. Another Dialog Box will appear, prompting you to choose the video file associated with this cast member. You can select Mpeg, AVI, Quicktime┬«, WAV, AIF, MP2 and MIDI files. You can also select files located on another computer on your network. For intranet users, you can select the "Enter URL" option, and enter the URL of the file (Example: http://www.mynet.com/media/file1.mpg).  Select a file with the correct type and extension. Click OK. You will return to the Properties Dialog Box. The file information should be displayed correctly, indicating the duration, height and width of the media file. 
  21. You can preview the file, mark cue points and set the playback options (toolbar, volume, rate, balance, among others).
  22. Leave the Playback options as they are, for now.  Finish by clicking OK.
  23.  
  24. A new cast member should have appeared in your Cast Window in Director. It has the DirectMedia Xtra┬« icon, and the name of your linked video file. Click on it and drag the cast member to the score. A new sprite will be created on your score window, and you can adjust the position and the size of the video directly in the score. 
  25.  
  26. You can use the "Wait for Cue Point"  option in the tempo channel to wait for the end of the playback, or you can use a:
  27.  
  28. on exitframe
  29.   go the frame
  30. end
  31.  
  32. script on the script channel to make Director loop on the frame while the video plays. That's it! 
  33.  
  34. Note: the "Wait for cue point"  option will not operate correctly if your DirectMedia Xtra┬« sprite is in the last frame of the score. The same behavior is true for built-in digital video and audio sprites.
  35.